package com.model;

import java.util.Date;

/**
 * BonuspointVO entity.
 * 
 * @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class Bonuspoint implements java.io.Serializable {

	// Fields

	private Long historyId;
	private Users usersDTO;
	private Orders ordersDTO;
	private Integer pointnum;
	private Date createtime;
	private String type;
	private String status;

	// Constructors

	/** default constructor */
	public Bonuspoint() {
	}

	/** minimal constructor */
	public Bonuspoint(Users usersDTO, Orders ordersDTO) {
		this.usersDTO = usersDTO;
		this.ordersDTO = ordersDTO;
	}

	/** full constructor */
	public Bonuspoint(Users usersDTO, Orders ordersDTO, Integer pointnum,
			Date createtime, String type, String status) {
		this.usersDTO = usersDTO;
		this.ordersDTO = ordersDTO;
		this.pointnum = pointnum;
		this.createtime = createtime;
		this.type = type;
		this.status = status;
	}

	// Property accessors

	public Long getHistoryId() {
		return this.historyId;
	}

	public void setHistoryId(Long historyId) {
		this.historyId = historyId;
	}

	public Users getUsers() {
		return this.usersDTO;
	}

	public void setUsers(Users usersDTO) {
		this.usersDTO = usersDTO;
	}

	public Orders getOrders() {
		return this.ordersDTO;
	}

	public void setOrders(Orders ordersDTO) {
		this.ordersDTO = ordersDTO;
	}

	public Integer getPointnum() {
		return this.pointnum;
	}

	public void setPointnum(Integer pointnum) {
		this.pointnum = pointnum;
	}

	public Date getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}